<%@ page language="java" contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<table width="100%" border="1" cellspacing="0" cellpadding="2" summary="内存">
	<thead>
		<tr>
			<th colspan="4">Memory</th>
		</tr>
		<tr>
			<th width="50%" colspan="2">Heap</th>
			<th width="50%" colspan="2">Non-Heap</th>
		</tr>
	</thead>
	<tbody>
		<tr>
			<td width="100" align="right">Max</td>
			<td>${mem.heap.max}MB(use:${mem.heap.useMaxRatio},free:${mem.heap.freeMaxRatio})</td>
			<td width="100" align="right">Max</td>
			<td>${mem.nonHeap.max}MB(use:${mem.nonHeap.useMaxRatio},free:${mem.nonHeap.freeMaxRatio})</td>
		</tr>
		<tr>
			<td width="100" align="right">Committed</td>
			<td>${mem.heap.committed}MB(use:${mem.heap.useRatio},free:${mem.heap.freeRatio})</td>
			<td width="100" align="right">Committed</td>
			<td>${mem.nonHeap.committed}MB(use:${mem.nonHeap.useRatio},free:${mem.nonHeap.freeRatio})</td>
		</tr>
		<tr>
			<td width="100" align="right">Used</td>
			<td>${mem.heap.used}MB(${mem.heap.prompt})</td>
			<td width="100" align="right">Used</td>
			<td>${mem.nonHeap.used}MB(${mem.nonHeap.prompt})</td>
		</tr>
		<tr>
			<td width="100" align="right">Free</td>
			<td>${mem.heap.free}MB</td>
			<td width="100" align="right">Free</td>
			<td>${mem.nonHeap.free}MB</td>
		</tr>
	</tbody>
	<thead>
		<tr>
			<th width="50%" colspan="2">Tenured Gen</th>
			<th width="50%" colspan="2">Perm Gen</th>
		</tr>
	</thead>
	<tbody>
		<tr>
			<td width="100" align="right">Max</td>
			<td>${mem.heap_tenured.max}MB
				(use:${mem.heap_tenured.used}MB|${mem.heap_tenured.useMaxRatio},
				free:${mem.heap_tenured.freeMax}MB|${mem.heap_tenured.freeMaxRatio})
			</td>
			<td width="100" align="right">Max</td>
			<td>${mem.nonHeap_perm.max}MB
				(use:${mem.nonHeap_perm.used}MB|${mem.nonHeap_perm.useMaxRatio},
				free:${mem.nonHeap_perm.freeMax}MB|${mem.nonHeap_perm.freeMaxRatio})
			</td>
		</tr>
	</tbody>
	<thead>
		<tr>
			<th width="50%" colspan="2">Eden Space</th>
			<th width="50%" colspan="2">Code Cache</th>
		</tr>
	</thead>
	<tbody>
		<tr>
			<td width="100" align="right">Max</td>
			<td>${mem.heap_eden.max}MB
				(use:${mem.heap_eden.used}MB|${mem.heap_eden.useMaxRatio},
				free:${mem.heap_eden.freeMax}MB|${mem.heap_eden.freeMaxRatio})
			</td>
			<td width="100" align="right">Max</td>
			<td>${mem.nonHeap_code.max}MB
				(use:${mem.nonHeap_code.used}MB|${mem.nonHeap_code.useMaxRatio},
				free:${mem.nonHeap_code.freeMax}MB|${mem.nonHeap_code.freeMaxRatio})
			</td>
		</tr>
	</tbody>
	<thead>
		<tr>
			<th width="50%" colspan="2">Survivor Space</th>
			<th width="50%" colspan="2"></th>
		</tr>
	</thead>
	<tbody>
		<tr>
			<td width="100" align="right">Max</td>
			<td>${mem.heap_survivor.max}MB
				(use:${mem.heap_survivor.used}MB|${mem.heap_survivor.useMaxRatio},
				free:${mem.heap_survivor.freeMax}MB|${mem.heap_survivor.freeMaxRatio})
			</td>
			<td width="100" align="right"></td>
			<td></td>
		</tr>
	</tbody>
</table>